package com.costner.kids;

public class Stats {

	public static int attempts = 0;
	public static int successes = 0;
	
	public static int getAttempts() {
		return attempts;
	}
	
	public static int getSuccesses() {
		return successes;
	}
	
	public static double getSuccessPct() {
		return (100.0 * successes / attempts);
	}
	
	public static void resetStats() {
		attempts = 0;
		successes = 0;
	}
	
	public static void incrAttempts() {
		attempts += 1;
	}
	
	public static void incrSuccesses() {
		successes += 1;
	}
	
}
